﻿using Core.AdditionalInterfaces;
using Core.Store;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Core.Store
{
    public partial class Store_Category : ITree<Store_Category>
    {
        [NotMapped]
        public System.Boolean IsRoot
        {
            get;
            set;
        }
        [NotMapped]
        public System.Boolean HasChild
        {
            get;
            set;
        }
        [NotMapped]
        public Store_Category ParentEntity
        {
            get;
            set;
        }

        [NotMapped]
        public IEnumerable<Store_Category> ChildEntities
        {
            get;
            set;
        }
    }
}
